﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WowParserLib.Events.SuffixArgs;
using WowParserLib.Events;

namespace WowParserLib.EventParsers
{
    public class AuraRemovedArgsParser: EventArgsParser
    {
        public AuraRemovedArgsParser(int startIndex)
            : base(startIndex)
        {
        }

        public override EventArguments Parse(string[] args)
        {
            AuraType type = (AuraType)Enum.Parse(typeof(AuraType), args[StartIndex], true);
            return new AuraRemovedArgs(type);
        }
    }
}
